<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="__JS__/main.js"></script>

</head>
<body>
{include file="../application/index/view/common/header.html"}

<input type="button" value="点我"  onclick="getMessage()"/>

<br/>
  <a href='{:url("Student/add")}'>新增</a>
  <table border="1" align="center" width="70%">
  	<thead>
  		<th>学号</th>
  		<th>姓名</th>
  		<th>身份证号</th>
  		<th>出生日期</th>
  		<th>家庭地址</th>
  		<th>班级名称</th>
  		<th>身份证地址</th>
  		<th>操作</th>
  	</thead>
	  {volist name="list" id="stu"}
	  	 <tr>
	  	 	<td>
	  	 		{$stu['s_id']}
	  	 	</td>
	  	 	<td>
	  	 		{$stu.s_name}
	  	 	</td>
	  	 	<td>
	  	 		{$stu.s_card}
	  	 	</td>
	  	 	<td>
	  	 		{$stu.s_birthday}
	  	 	</td>
	  	 	<td>
	  	 		{$stu.s_address}
	  	 	</td>
	  	 	<td>
	  	 		{$stu.classes.mr_classname}
	  	 	</td>
	  	 	<td>
	  	 		{$stu['card']['c_address']}
	  	 	</td>
	  	 	<td>
	  	 		<a href="{:url('Student/update',['s_id'=>$stu.s_id])}">修改</a>|<a href="{:url('Student/del',['s_id'=>$stu.s_id])}">删除</a>
	  	 	</td>
	  	 </tr>
	  {/volist}
  </table>
</body>
</html>